package actionspeedymodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// ActionSpecialEffectsConfigLog 系统接口表
type ActionSpecialEffectsConfigLog struct {
	Id             int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"api的id"`
	AnchorOpenId   string         `json:"anchorOpenId" gorm:"column:anchor_open_id;type:varchar(256);not null;default:'';comment: 主播id"`
	AnchorNickname string         `json:"anchorNickname" gorm:"column:anchor_nickname;type:varchar(256);not null;default:'';comment: 主播id"`
	SecOpenid      string         `json:"secOpenid" gorm:"column:sec_openid;type:varchar(256);not null;default:'';comment: 玩家id"`
	SecOpenName    string         `json:"secOpenName" gorm:"column:sec_open_name;type:varchar(256);not null;default:'';comment: 玩家昵称"`
	Reviewer       string         `json:"reviewer" gorm:"column:reviewer;type:varchar(256);not null;default:'';comment:审核人"` // 审核人
	GiftId         int64          `json:"giftId" gorm:"column:gift_id;type:bigint;default:0;not null;comment:礼物id"`
	GiftName       string         `json:"giftName" gorm:"column:gift_name;type:varchar(256);not null;default:'';comment: 礼物名字"`
	Name           string         `json:"name" gorm:"column:name;type:varchar(256);not null;default:'';comment: 特效名字"`
	Remark         string         `json:"remark" gorm:"column:remark;type:varchar(256);not null;default:'';comment: 备注"`
	Number         int64          `json:"number" gorm:"column:number;type:bigint;default:0;not null;comment:数量"`                    // 数量
	CreatedUserId  int64          `json:"createdUserId" gorm:"column:created_user_id;type:bigint;default:0;not null;comment:创建人id"` // 更新人id
	CreatedAt      time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt      time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt      gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
